#include #include using namespace std; //coupling vs cohesion //cohesion - how closely related are the contents of a group. // You want strong cohesion //coupling - how dependent functions are on one another //You want loose coupling void fun2( int y = 9 , int z = 5, int x = time(NULL) ); //default arguments the function has multiple signatures void fun( int x = 4 ) { cout << x * 8 << endl; } void main() { int i = 9; fun(i); fun(8); fun2(4,5); fun2(4,5,6); } void fun2( int y , int z, int x ) { cout << x << endl; }